package com.wenjunwu.blog.common;

import java.io.Serializable;
import java.util.List;

public class PageTranslate<E> implements Serializable {
	
	private static final long serialVersionUID = 1L;

	public static final String PAGENUM = "pageNum";
	public static final String PAGESIZE = "pageSize";
	
	private List<E> data;
	private Long draw;
	private Long recordsTotal;
	private Long recordsFiltered;
	
	private String resultCode;
	private String resultContent;

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultContent() {
		return resultContent;
	}

	public void setResultContent(String resultContent) {
		this.resultContent = resultContent;
	}

	public List<E> getData() {
		return data;
	}

	public void setData(List<E> data) {
		this.data = data;
	}

	public Long getDraw() {
		return draw;
	}

	public void setDraw(Long draw) {
		this.draw = draw;
	}

	public Long getRecordsTotal() {
		return recordsTotal;
	}

	public void setRecordsTotal(Long recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	public Long getRecordsFiltered() {
		return recordsFiltered;
	}

	public void setRecordsFiltered(Long recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}

}
